//
//  YHModuleThreeViewController_2.m
//  YHRouter_Example
//
//  Created by 98du on 2021/11/26.
//  Copyright © 2021 林宁宁. All rights reserved.
//

#import "YHModuleThreeViewController_2.h"
@import YHRouter;
@interface YHModuleThreeViewController_2 ()

@end

@implementation YHModuleThreeViewController_2

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    YHOptionTableViewItem * item;
    
    item = YHOptionTableItemInitTitle(@"model1", YES, YES);
    [item setCellClickBlock:^(NSIndexPath * _Nonnull indexPath, YHOptionTableViewItem * _Nonnull passItem) {
        
    }];
    [self addOptionItem:item];
    
    item = YHOptionTableItemInitTitle(@"model2", YES, YES);
    [item setCellClickBlock:^(NSIndexPath * _Nonnull indexPath, YHOptionTableViewItem * _Nonnull passItem) {
            
    }];
    [self addOptionItem:item];
    
    item = YHOptionTableItemInitTitle(@"model3", YES, YES);
    [item setCellClickBlock:^(NSIndexPath * _Nonnull indexPath, YHOptionTableViewItem * _Nonnull passItem) {
            
    }];
    [self addOptionItem:item];
    
    item = YHOptionTableItemInitTitle(@"model4", YES, YES);
    [item setCellClickBlock:^(NSIndexPath * _Nonnull indexPath, YHOptionTableViewItem * _Nonnull passItem) {
            
    }];
    [self addOptionItem:item];
    
    [self reloadContentView];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
